package _21_多线程juc.demo01;

import java.util.HashMap;
import java.util.Map;

public class MyTestPictures {

    public static String urlOfPic_1 = "https://img-blog.csdnimg.cn/20191205112457955.png";
    public static String urlOfPic_2 = "https://img-blog.csdnimg.cn/2019120511254750.png";
    public static String urlOfPic_3 = "https://img-blog.csdnimg.cn/20200601191039500.png";
    public static String urlOfPic_4 = "https://img-blog.csdnimg.cn/20200601191426439.png";

    public static String rootDir = "./src/main/resources/pictures/";
    public static String fileNameOfPic_1 = rootDir + "picture_1.png";
    public static String fileNameOfPic_2 = rootDir + "picture_2.png";
    public static String fileNameOfPic_3 = rootDir + "picture_3.png";
    public static String fileNameOfPic_4 = rootDir + "picture_4.png";

    public static Map<String, String> getPictureSource() {
        HashMap<String, String> hashMap = new HashMap<>();
        hashMap.put(urlOfPic_1, fileNameOfPic_1);
        hashMap.put(urlOfPic_2, fileNameOfPic_2);
        hashMap.put(urlOfPic_3, fileNameOfPic_3);
        hashMap.put(urlOfPic_4, fileNameOfPic_4);
        return hashMap;
    }
}
